package com.qianfeng.smartmeeting.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Time;

public class TimeSlotDto {
    private Long slotId;
    private String slotName;
    
    @JsonFormat(pattern = "HH:mm")
    private Time startTime;
    
    @JsonFormat(pattern = "HH:mm")
    private Time endTime;
    
    private boolean available;

    // Getters and Setters
    public Long getSlotId() {
        return slotId;
    }

    public void setSlotId(Long slotId) {
        this.slotId = slotId;
    }

    public String getSlotName() {
        return slotName;
    }

    public void setSlotName(String slotName) {
        this.slotName = slotName;
    }

    public Time getStartTime() {
        return startTime;
    }

    public void setStartTime(Time startTime) {
        this.startTime = startTime;
    }

    public Time getEndTime() {
        return endTime;
    }

    public void setEndTime(Time endTime) {
        this.endTime = endTime;
    }

    public boolean isAvailable() {
        return available;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }
}